package cn.wolfcode.luowowo.article.mapper;


import cn.wolfcode.luowowo.article.domain.Answer;
import cn.wolfcode.luowowo.article.query.AnswerQuery;

import java.util.List;

public interface AnswerMapper {
    int deleteByPrimaryKey(String userInfo);

    int insert(Answer record);

    Answer selectByPrimaryKey(String userInfo);

    List<Answer> selectAll();

    int updateByPrimaryKey(Answer record);

    List<Answer> selectForList(AnswerQuery qo);

    int selectCountByQuestionId(Long id);

}